package com.yunc.modules.sys.mapper;

import com.yunc.base.SuperMapper;
import com.yunc.modules.sys.entity.SysRoleMenu;
import com.yunc.modules.sys.entity.dto.SysRoleMenuDTO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 角色菜单
 *
 * @author congcong tao
 * @date 2018/11/14 19:50
 */
@Mapper
public interface SysRoleMenuMapper extends SuperMapper<SysRoleMenu> {

    int insertList(List<SysRoleMenu> list);

    List<SysRoleMenuDTO> queryRoleMenuPerms();
}
